package com.david.dao;

import com.david.entity.TokenEntity;

/**
 * 用户Token
 *
 * Created by chendawei on 2017/6/7.
 */
public interface TokenDao extends BaseDao<TokenEntity> {
    
    TokenEntity queryByUserId(Long userId);

    TokenEntity queryByToken(String token);
	
}
